package complex.java.base;

public class Test {
	private String t;
	
	public Test(){
		
	}
	public Test(int a){
		this();
	}

	
	public static void main(String[] args) {
		System.out.println(testTrue());
		
		char[] height ={'a','b','c','d','e'};
		System.out.println(height[19%5]);
		
		outer:
		for(int i=0;i<10;i++){
			inter:
				for(int j=0;j<10;j++){
					if(j==8){
						System.out.println("toOuter");
						break outer;
					}
				}
		}
		
		short a =8;
		switch(a){
			case 8:System.out.println("8");
			break;
			default:break;
		}
	}
	
	private Test getTest(){
		return new Test(){
			private String getA(){
				return "A";
			}
		};
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((t == null) ? 0 : t.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Test other = (Test) obj;
		if (t == null) {
			if (other.t != null)
				return false;
		} else if (!t.equals(other.t))
			return false;
		return true;
	}
	
	private static boolean testTrue(){
		try{
			return true;
		}finally{
			return false;
		}
	}
	
}
